﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using Microsoft.VisualStudio.DebuggerVisualizers;
using System.Linq.Expressions;


namespace LINQConsoleApplication1 {
    class Program {

        static void Main(string[] args) 
        {
            string introduction = "The Visualizer may be hidden behind a window. Try the GuiHost.";

            Console.WriteLine(introduction);

            Expression<Func<int, bool>> expr = x => x == 10;

            VisualizerDevelopmentHost host = new VisualizerDevelopmentHost(expr,
                                                 typeof(ExpressionTreeVisualizer),
                                                 typeof(ExpressionTreeVisualizerObjectSource));
            host.ShowVisualizer();   
            

        }
    }
}
